lock moves
Type
command
Summary
Sets the lockMoves property to true, preventing motions caused with the move command from being immediately visible.
Syntax
lock moves
Description
Use the lock moves command to synchronize motions made with the move command.
The lock moves command sets the lockMoves property to true.
When all pending handlers are finished executing, the lockMoves property is set back to false.
Examples
lock moves
if the lockScreen is false then lock moves
Value
Name | Type | Description |
---|---|---|
the result | When you use the move command to move an object around the screen, the movement takes place immediately. If you want to move more than one object simultaneously, first use the lock moves command to prevent these motions from being seen. Then issue the necessary move commands to move the objects, appending "without waiting" to each. Finally, use unlock moves to show the result of the move commands. |
Related
command: lock cursor, move, lock messages, unlock moves
property: lockMoves
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile